{include file="common/html" /}
    <title>{$user_info.game_id} - {php} echo config('app.app_name') {/php}</title>
{include file="common/head" /}
{include file="common/top_left" /}
{include file="common/top_right" /}
{include file="common/left_menu" /}
    </div>
    </div>
    <div class="main-panel">
    <div class="content" style="padding-bottom: 0;">
    <div class="container-fluid">
        <div class="card">
            <div class="card-header">
                <div class="card-title">
                    {$user_info.game_id}
                    <a href="javascript:history.back(-1)" class="btn btn-link">Back</a>
                    <span class="badge badge-warning">
                        {if (empty($user_file['tag_1']))}
                            暂无
                        {else /}
                            {$user_file.tag_1}
                        {/if}
                    </span>
                    <span class="badge badge-info">
                        {if (empty($user_file['tag_2']))}
                            暂无
                        {else /}
                            {$user_file.tag_2}
                        {/if}
                    </span>
                    <span class="badge badge-danger">
                        {if (empty($user_file['tag_3']))}
                            暂无
                        {else /}
                            {$user_file.tag_3}
                        {/if}
                    </span>
                    <a href="#" onclick="copyUrl()" class="btn btn-link">分享本页给你的朋友</a>
                </div>
            </div>
            <div class="card-body" style="padding-top: 0;">
                <table class="table table-typo" style="margin-bottom: 0; border-bottom: 1px solid #ebedf2;">
                    <tbody>
                        <tr>
                            <td>
                                <p style="margin-bottom: 0;">
                                    {if (empty($user_file['message']))}
                                    暂无
                                    {else /}
                                    {$user_file.message}
                                    {/if}
                                </p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <form style="padding-bottom: 1%; border-bottom: 1px solid #ebedf2;border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding: 10px 0;">
                        <label>给此玩家留言 / 说个啥？</label>
                        <input type="text" name="comment_user_id" style="display: none;" value="{php}echo base64_encode($user_id){/php}">
                        <input type="text" name="comment_content" class="form-control" placeholder="xxxx">
                    </div>
                    <div class="card-title">
                        <input type="submit" value="{php} echo config('menu.send_user_comment_email_content') {/php}" id="send_comment_content_to_email" class="btn btn-primary" style="font-size: 13px;margin-top: 5px;">
                        <input type="submit" value="{php} echo config('menu.send_user_comment_content') {/php}" id="send_comment_content" class="btn btn-success" style="font-size: 13px;margin-top: 5px;">
                    </div>
                </form>
                <form style="border-bottom: 1px solid #ebedf2;border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding-top:10px;padding-bottom: 0;">
                        <label>此玩家正在出售的 <b>MOD</b> </label>
                    </div>
                </form>
                <table class="table table-hover" style="text-align: center; margin-bottom: 0;">
                    <thead>
                    <tr>
                        <th scope="col">物品名称</th>
                        <th scope="col">单价</th>
                        <th scope="col">数量</th>
                        <th scope="col">等级</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if (empty($mod_list[0]))}
                    <tr>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                    </tr>
                    {else /}
                    {volist name='mod_list' id='m'}
                        <tr>
                            <th scope="col">
                                <a href="https://warframe.huijiwiki.com/wiki/{$m.stuff_name}" target="_blank" title="点击查看此物品详细信息">
                                    {$m.stuff_name}
                                </a>
                            </th>
                            <th scope="col">
                                <span style="color: red;">{$m.unit_price}</span>
                                Platinum
                            </th>
                            <th scope="col">
                                {$m.num}
                                <i class="la la-cubes" style="font-size: 18px;"></i>
                            </th>
                            <th scope="col">
                                {$m.rank}
                            </th>
                        </tr>
                    {/volist}
                    {/if}
                    </tbody>
                </table>
                <form style="border-bottom: 1px solid #ebedf2; border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding-top:10px;padding-bottom: 0;">
                        <label>此玩家正在出售的 <b>PRIME 武器 / 守护</b> </label>
                    </div>
                </form>
                <table class="table table-hover" style="text-align: center; margin-bottom: 0;">
                    <thead>
                    <tr>
                        <th scope="col">物品名称</th>
                        <th scope="col">单价</th>
                        <th scope="col">数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if (empty($weapon_list[0]))}
                    <tr>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                    </tr>
                    {else /}
                    {volist name='weapon_list' id='w'}
                    <tr>
                        <th scope="col">
                            {$w.stuff_name}
                        </th>
                        <th scope="col">
                            <span style="color: red;">{$w.unit_price}</span>
                            Platinum
                        </th>
                        <th scope="col">
                            {$w.num}
                            <i class="la la-cubes" style="font-size: 18px;"></i>
                        </th>
                    </tr>
                    {/volist}
                    {/if}
                    </tbody>
                </table>
                <form style="border-bottom: 1px solid #ebedf2; border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding-top:10px;padding-bottom: 0;">
                        <label>此玩家正在出售的 <b>PRIME 战甲</b> </label>
                    </div>
                </form>
                <table class="table table-hover" style="text-align: center; margin-bottom: 0;">
                    <thead>
                    <tr>
                        <th scope="col">物品名称</th>
                        <th scope="col">单价</th>
                        <th scope="col">数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if (empty($war_frame_list[0]))}
                    <tr>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                    </tr>
                    {else /}
                    {volist name='war_frame_list' id='f'}
                    <tr>
                        <th scope="col">
                            {$f.stuff_name}
                        </th>
                        <th scope="col">
                            <span style="color: red;">{$f.unit_price}</span>
                            Platinum
                        </th>
                        <th scope="col">
                            {$f.num}
                            <i class="la la-cubes" style="font-size: 18px;"></i>
                        </th>
                    </tr>
                    {/volist}
                    {/if}
                    </tbody>
                </table>
                <form style="border-bottom: 1px solid #ebedf2; border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding-top:10px;padding-bottom: 0;">
                        <label>此玩家正在出售的 <b>RIVEN</b> </label>
                    </div>
                </form>
                <table class="table table-hover" style="text-align: center; margin-bottom: 0;">
                    <thead>
                    <tr>
                        <th scope="col">物品名称</th>
                        <th scope="col">词条</th>
                        <th scope="col">单价</th>
                        <th scope="col">数量</th>
                        <th scope="col">等级</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if (empty($riven_list[0]))}
                    <tr>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                    </tr>
                    {else /}
                    {volist name='riven_list' id='r'}
                    <tr>
                        <th scope="col">
                            {$r.stuff_name}
                        </th>
                        <th scope="col">
                            {if !empty($r['entry_1']) }
                            {$r.entry_1}
                            {else /}
                            无
                            {/if}
                            {if !empty($r['entry_2']) }
                            <br>
                            {$r.entry_2}
                            {/if}
                            {if !empty($r['entry_3']) }
                            <br>
                            {$r.entry_3}
                            {/if}
                            {if !empty($r['entry_4']) }
                            <br>
                            {$r.entry_4}
                            {/if}
                        </th>
                        <th scope="col">
                            <span style="color: red;">{$r.unit_price}</span>
                            Platinum
                        </th>
                        <th scope="col">
                            {$r.num}
                            <i class="la la-cubes" style="font-size: 18px;"></i>
                        </th>
                        <th scope="col">
                            {$r.rank}
                        </th>
                    </tr>
                    {/volist}
                    {/if}
                    </tbody>
                </table>
                <form style="border-bottom: 1px solid #ebedf2; border-top: 1px solid #ebedf2;">
                    <div class="form-group" style="padding-top:10px;padding-bottom: 0;">
                        <label>此玩家正在出售的 <b>其他物品</b> </label>
                    </div>
                </form>
                <table class="table table-hover" style="text-align: center; margin-bottom: 1%;border-bottom: 1px solid #ebedf2;">
                    <thead>
                    <tr>
                        <th scope="col">物品名称</th>
                        <th scope="col">单价</th>
                        <th scope="col">数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if (empty($other_list[0]))}
                    <tr>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                        <th scope="col">
                            暂无
                        </th>
                    </tr>
                    {else /}
                    {volist name='other_list' id='o'}
                    <tr>
                        <th scope="col">
                            {if (empty($o['stuff_name']))}
                                金/银 垃圾
                            {else /}
                            {$o.stuff_name}
                            {/if}
                        </th>
                        <th scope="col">
                            <span style="color: red;">{$o.unit_price}</span>
                            Platinum
                        </th>
                        <th scope="col">
                            {$o.num}
                            <i class="la la-cubes" style="font-size: 18px;"></i>
                        </th>
                    </tr>
                    {/volist}
                    {/if}
                    </tbody>
                </table>
                <style>
                    div.page_list .pagination{
                        margin-bottom: 1%;
                    }
                    div.page_list li span{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div.page_list li a{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div.page_list .active span{
                        background: #1D62F0;
                        border-color: #1D62F0;
                        color: #ffffff;
                    }
                </style>
            </div>
        </div>
    </div>
</div>
{include file="common/footer" /}